gitlab webhook 报错
报错1 Hook executed successfully but returned HTTP 422
gitlab+jenkins 配置webhook自动触发,在gitlab项目中配置好webhook后点击 Test Push events
报错如下
原因:jenkins url回调地址写错了,复制 Build when a change is pushed to GitLab. GitLab webhook URL
后面的url即可
报错2 Hook executed successfully but returned HTTP 403
gitlab+jenkins 配置webhook自动触发,在gitlab项目中配置好webhook后点击 Test Push events
报错如下
需要在jenkins中 系统管理
-> 系统配置
-> Gitlab